package com.vanke.devops.api;

import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 陈景阳
 * @since 2018/1/3
 */
@SpringBootApplication(
        scanBasePackages = {
                "com.vanke.devops"
        }
)
@EnableSwagger2Doc
@EnableDiscoveryClient
public class Application {

    public static void main(String[] args){
        SpringApplication.run(Application.class,args);
    }
}
